package com.dongdong.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.dongdong.mapper.TbSpecificationOptionMapper;
import com.dongdong.pojo.TbSpecificationOption;
import com.dongdong.service.TbSpecificationOptionService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Deacription TODO
 * @Author Lenovo
 * @Date 2020/12/10 15:21
 * @Version 1.0
 **/
@Service
@Component
public class TbSpecificationOptionServiceImpl implements TbSpecificationOptionService {

    @Resource
    private TbSpecificationOptionMapper tbSpecificationOptionMapper;

    @Override
    public List<TbSpecificationOption> getOptionNameById(Long id) {
        return tbSpecificationOptionMapper.getOptionNameById(id);
    }
}

